package com.xjrsoft;

import com.xjrsoft.common.annotation.UniqueNameGenerator;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author Zexy
 */
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)
@ComponentScan(nameGenerator = UniqueNameGenerator.class)
@EnableScheduling
@MapperScan("com.xjrsoft.module.**.mapper")
public class XjrSoftApplication {

    public static void main(String[] args) {
        SpringApplication.run(XjrSoftApplication.class, args);
    }



}